package top.kaoshanji.p4ch25b;

/**
 * 代码清单-p4ch25b-315页a：管理层员工
 * @author kaoshanji
 * ^_^
 * create time 2025/3/27 10:29
 */
public class Manager extends Employee {

    private String performance;

    public String getPerformance() {
        return performance;
    }

    public void setPerformance(String performance) {
        this.performance = performance;
    }

    // 部门经理允许访问者访问
    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }

}
